< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Chilik Ajax Push Demonstration</title>
        <link href="{{$assets_url}}css/ajax.css" type="text/css" media="screen, projection" rel="stylesheet" />
    </head>

    <body>
        <div id="wrapper">
            <div id="message" style="display: none;">
            </div>
            <div id="waiting" style="display: none;">
                Please wait<br />
                <img src="{{$assets_url}}images/ajax-loader.gif" title="Loader" alt="Loader" />
            </div>
            <form action="" id="demoForm" method="post">
                <fieldset>
                    <legend>Demo form</legend>
                    <span style="font-size: 0.9em;">This ajax submit demo form.</span>
                    <p>
                        <label for="email">Email:</label>
                        <div>
                        	<textarea rows="10" cols="50" id="email" style="width: 100%; height: 400px" name="email"></textarea>
                        	<INPUT TYPE=HIDDEN id="nonce" NAME="nonce" value="{{$salt}}">
                        	<INPUT TYPE=HIDDEN id="hash" NAME="hash" value="{{$token}}">
                        </div>
                    </p>
                    <p>
                        <input type="submit" name="submit" id="submit" style="float: right; clear: both; margin-right: 3px;" value="Submit" />
                    </p>
                </fieldset>
            </form>
        </div>
        <script type="text/javascript" src="{{$assets_url}}js/jquery-1.4.2.min.js"></script>
        <script type="text/javascript" src="{{$assets_url}}javascript/ajax_send.js"></script>
    </body>
</html>
